package Statefarms;


	import org.openqa.selenium.firefox.FirefoxDriver;

	import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.TimeUnit;

	import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.firefox.FirefoxDriver;

	public class TestPrac {
		static WebDriver driver;
		public static void main(String args[]) throws IOException, InterruptedException{
	//public static void main
	
			
			//FirefoxDriver driver= new FirefoxDriver();
		
	/*		
			//String URL="https://www.statefarm.com/";
			
			driver.get("https://www.statefarm.com/");
			
			boolean Regassert=driver.findElement(By.xpath("//*[@id='login-box-bottom']")).findElement(By.linkText("Register")).isDisplayed();
			System.out.println("The Register link is displayed "+Regassert);
			String asert=driver.findElement(By.xpath("//*[@id='login-box-bottom']")).findElement(By.linkText("Register")).getAttribute("href");
			String regURL="https://online2.statefarm.com/registration/register.do";
			
					
			System.out.println(asert);
		if (regURL.equalsIgnoreCase(asert)){
			System.out.println("Pass");
		}else
			System.out.println("Fail");
		*/
			
			int ar[]={10,5,6,3,4};
			Arrays.sort(ar);
			
			for(int i=0;i<=ar.length-1;i++)
			{
				
				System.out.println(ar[i]);
			}
			
		}		
	
		

		
		
	}
	

